<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
  <script src="/lib/jquery-1.12.4.js"></script>
 </head>
 <body>

 <video id="box" width="320" height="240" controls>
  <source id="ss" src="http://localhost/001.mp4" type="video/mp4">
  <!--<source src="movie.ogg" type="video/ogg">-->
	您的浏览器不支持Video标签。
</video>

	<script type="text/javascript">
	
	$(function(){	
		$(document).dblclick(function(){
			//$("#box source").attr('src', 'http://localhost/0.mp4');
			//$ss = $("#box").empty();
			//$("#box").empty();
			////console.log($ss);
			//$("#box").append($('<source src="'+ 'http://localhost/0.mp4' +'" type="video/mp4">'));
			//$("#box")[0].play();

			//$("#box")[0].src= 'http://localhost/0.mp4';
			$("#box")[0].attr('src', 'http://localhost/0.mp4');
		});
	});

	</script>
  
 </body>
</html>
